done hint fiction edit function and update essay edit