Updated code for task assigned dropdown list