Added REST API updates (relationships and query options)