remove upsert() and add replace()
version bump: 0.5.0