Fixed everything updates,adds,deletes,and still sorts