rest server functions changed