revamp API