Update Plugin code