Members of parliament in Benin have voted to change the country 's constitution , extending their terms in office by one year .