Added test for updating existing key value