Update posts_controller, still has client-side data persistence issue on 422