update version in update plugin hook