1.add log.
2.update functions like favorite edit and so on.