update doors_and_gates.lua