fixed bug in plugin version updating