updates to db, added hash_decrypt.php back to loop