updated an app main file