After you've gone to the Social Security office, wait at least 24 hours before going to the DMV. You do not need to have your new Social Security card in hand to update your driver's license, but the 24-hour window will allow enough time for the system to update with your new name.