refactoring learning_switch
- add debug message
- add created_at into fdb