Merge pull request #277 from cjemagid/3.0-beta

Had to re introduce the refresh=1 to the mem function due to master db p...
Merge pull request #278 from cjemagid/3.0-beta

removed refresh again
fixes
Merge pull request #279 from will123195/3.0

fixes