add clear database and clear worker data