A state judge July 15 amended a temporary restraining order issued earlier in the week that banned the Lottery Division from continuing to work on the bid offered by Genting New York.