Updating layer states in autocad