update code and give some anomation