Added check execution for database upgrade in update only script