updating consumer with offset in addition to commiting the offset back to the broker.