updating views and push notifications