register function changed
register function changed