update code space