add update / delete function to the legal profile module