udpate role auto