Update the currentPost to the updatePost, fixes #845