save html to db