Skeleton code for create and update clusters