edit data
fixed schema stuff