Stored procedures: Migrated computer procedures back to updating/creating records on empty