Added updating for posts