Revamp of Update method to consider migration to SQL server