Refactor codes in api