Added get save and update methods for posts