updated the initialize attributes