updates but getting status and setting status not working