Add a condition about update the db URL column