Fleshed out World.upsert

Signed-off-by: Bjorn Westergard <bjornwestergard@Bjorns-MacBook-Pro.local>