UPDATE profile_items SET position = 1 WHERE profile_id = 1 AND quality_name = 'WEBDL-1080p';
UPDATE profile_items SET position = 2 WHERE profile_id = 1 AND quality_name = 'WEBDL-720p';
UPDATE profile_items SET position = 3 WHERE profile_id = 1 AND quality_name = 'Bluray-1080p';

UPDATE profile_items SET position = 1 WHERE profile_id = 2 AND quality_name = 'WEBDL-1080p';
UPDATE profile_items SET position = 2 WHERE profile_id = 2 AND quality_name = 'WEBDL-720p';
UPDATE profile_items SET position = 3 WHERE profile_id = 2 AND quality_name = 'HDTV-1080p';
