Adding :type to Node#update