update code image