created common interface for update data in adapters