Update constructer