update posts layout