update grab example from codepen