Update of res