init and Update