1st attempt at updating

this can be dangerous this is my first attempt to update a plugin and
fix for my own use also to learn java and someday write my own code