update a simple key