Fixed error in client plugin update writing