update config and delete some blank