updating all working codes