Update ApplicationDAL.php