updated plugin sdk usage