replace mafia to latest codes