The office of public safety, administratively created, is abolished and such functions as are assigned by law are transferred to the department of public safety. Wherever the words “office of public safety” appear in the Code, the words ‘department of public safety” or “department”, if appropriate, are substituted.