Revert "Working on updateValues function"

This reverts commit 7eed453409e95108ab6b5abd2a0ed0ec6fd2f29d.
Revert "Revert "Working on updateValues function""

This reverts commit de48bedaabe68fb04ce7d41320453a160ada6249.