hook after_dispatch mysql_commit