Create and update methods for Post and Diary