rename the source url
refactor code