- updating rest example