update for screen scale