add delete function to datumindex page