update query, handle body and title