added update and delete functions to valuestore