Added initial code for updating values