Updating cloud delegate for swift