rest test update