validating task after editing- working on it