Add create action to posts controller
Add update action to Api::PostsController