updated version plugin and fixed bugs