update one by one