updated make file for ex17 to add, query and remove database entires