Clean temp files and update unstable library