update constant pat for stream