update final code