update static and template paths