added interface for updating trash by id