Assigned uploads variable before rendering new