add marked to api.use on client