update data access layer.