changed update url and parameters