removed debug statements from updateValues