added edit method template for task grid