added subject field in template model