delete and update, tests