create repos resource change old repos to main