An unconstrained stress updating algorithm with the line search method for elastoplastic soil models