Profile logic updated