reorganize main.css and fix deleting updates