update filename pattern