update info_copy a, (select movies.id,movies.title from movies) b set a.id = b.id where a.title = b.title;