made edit attribute and filter work,
next working on toggle filter