update for ui relative lay out