Udpate code