update permalink and add custom domain