refactor update data function into courserService
move common services in /src/common
Merge branch 'refactor_bg'