add set status endpoint