update appledaily save problem and delete encode declare