add update-keys and update-vals functions
Merge pull request #21 from bsteuber/feature/update-fns

add update-keys and update-vals functions