modify rest api related