update top and right overrides