Update remove button functionality