didn't handle updating by post id before