updating all code