Removed duplicated UpdateDependency code for the Simple and Box layouts