Update to handle objects rather than strings