register + update header