Updating current file in commit window improved