Initialize with input id and register change