update push infos in database before subscribing