added task updeting with some problems with routes