Updated post updated_at on update

Edited the update method of posts to updated the updated_at property of
the post on update.