Update app code