changes for pic upload