. "shall perform such duties as shall be prescribed by the ordinances" . . .