Fixed a bug where data in postService would not be updated properly