update mask panel for category