Database URI fix.
Adding update action for pet model.