migrate contents to configs