updated uid from int to bigint