Updating correct no. of modules