added indexes to sortupdate event