retrofit version of updating