Add update action in PostController