update code & latex