update query by title and author