updated alter to create