version 0.1.1, now with upsert