update base on ego