update source and metainfo