a few edit in update