add clear database feature