update dao layer with generic find and delete parameter