Added post update

Added updating of posts