add cleanup command on database level