now ending database transactions