"Applying a template" to an existing object erases data after syncing