updated write.html