RDS - Upserting Records in a Table