Allow user to update habits

* configure edit and update routes
* define edit and update actions and view