add observer to dp