Creating and updating an application