MODIFIED GRAVITY EMERGING FROM THERMODYNAMICS AND HOLOGRAPHIC PRINCIPLE