Change border type