rework api urls