Update for web part
Test case