updated sql files and nusafephp