Update code of reservation