when task is marked complete/incomplete make a socket event