update meta data in header