modify 4 register api