Fixed assignment index action. Fixed task assignment to update instead of create new assignment every time.