Fixed patient profile update. Updated db structure (moved patient fk
from patient table to medical card table)