UPDATE queue_tickets
SET display_number = lpad(ticket_number::text, 5, '0')
WHERE display_number <> lpad(ticket_number::text, 5, '0');
