update for static method