rest update