Updated get and set on the TableGateway