Updated Plugin accoding to documentation