Hi
I am uploading all my photos from iPhoto on my Mac book pro to ICloud.
Are you uploading the photos using iCloud Photos Library and the Photos.app?
Then you must not delete any photos in Photos, or they will vanish from iCloud and all other synced devices. The purpose of iCloud Photos is to make the Photos Libraries on all devices identical and to keep them in sync with iCloud.
The only way to save storage with iCloud Photos (Library) is to enable "Optimize Mac Storage" in the Photos > Preferences > iCloud. Then iCloud will automatically remove the larger originals for items that you did not use in a longtime. And when need the item it will download from iCloud. That is fully automatic. Do not interfere by deleting items from the library, unless you do no longer want to keep that photo or video.