Updates in code for update posts