Update try-catch-finally