update permallink