updated resource upload