Update posts and fix bug that allows users to edit other people's posts