add query method and update rtsp