test write updated