Added updates to local data so that the post is visible on the feed after the upload