modify device registration_id api