refactor reload command