Add update-form to update value of form using a function.

Works like update-in. The given function is called using the
old value and rest of update-form params.