added task edit functionality