Just had a look and walls seem to update as they should after they are constructed. Gates don't though, because they have a different set of collision points that will cause problems if there are units next to it and it rotates at any time.