updates to the adapter