Updated clear markers method