modify template and styles