add edit icon and cancel fucntionality