Updated function changes updating plugin to latest version of Essentials.