delete and update studies