updated init
updated Id type