fixed error in updateStatus