update posts template