only update hash if update method exists