fixed bug in the profession crud update