bug fixed. update, delete, filter implemented