Update and test newPost