update templates and urls