update meta data in atom and clean host url