update code 2.4