Update lib by Tan Hoang

Add plugins codes