Writing rpsec for collaborator and updating collaborator control