Update REST class