post.Update now returns the updated structure instead of the old one
add tests for updating posts