update right status