Submitting and updating an application