Made the worker update the API once all images were done saving