update posts permalink