Replaced DELETE and INSERT statements with an UPDATE statement in an effort to reduce duplication causing time delays. Incremented version number