export and update