changed save in core model class, mysql date check was not properly being called