Update by id