add object to hash