Update user export

Added tests for update export

Fixed export private attribute