Update of the code