I have created a plugin to my wordpress multisite users. This plugin has a feature that uploads an image to the correct upload path for each blog and is not using the standard wordpress uploader. However, when the image is uploaded, the "Space used" in the dashboard is not automatically updated unless you upload something on the standard wordpress uploader.
My question is, how can i update the "Space Used" automatically once the image is uploaded from the plugin? Is there a function for this?