bulk inserts and updates
changed indentation