updating samples and slides