updated baseadapter