added update action to Samples