update dice reformat for better code lisibility