update and add works