update header and source file