The said mayor and aldermen shall also elect a treasurer and marshal and deputy marshal if they deem necessary, each of whom, when elected, shall enter into a bond with sufficient sureties approved by the mayor, in such penalty as the council shall prescribe, payable to the corporation, conditioned faithfully to collect and pay over as required by the council, all taxes, fines, forfeitures, and all other incomes of said corporation, and said officers shall continue in office during the pleasure of council, and perform the duties respectively as prescribed, or as may be required by the council.