using post request to update speed