add delete query feature to server