upload resources