Update status

Update status funct