update trash behavior