update header snnipet