update for static library