several changes to task_record model and views