add upload registration_id api
fix conflict