updating initializer