Fixed bug where updatePermitted wasn't reachable