update instance by version php array