updated add, edit, delete functionality