update register and application table