update for archive compiling