update the roll dice logic