Updating pyramid image and removing moot images