update code fixed