Update to door logic