Update Julia codes to work as anticipated.