update webelement

@jheritagesf please review
Not sure if you want to include in this comment the behavior if an invalid key is passed to the method (if that's even possible). Otherwise looks good.