api call control, properly update db's