the REST update completed with tests