update gridelements