add one shot pattern update