save studies to db

- ruben