update to apply report form in template and view