update to version 2

Check if file exists and update to version 2