update testandset command