Update update.php

Added a check for the new 'format' field when uploading new cards.