updating rest interface