added database check for null id in updateCustomer dao