update skeleton code