update formatting in refs