Added options to update method to allow upsert, fixes #31