updating permalinks