updating exercises to base on samples