updated endpoints to new methods