fix code style and comments
modify local update