updating legacy file