updated a register page