updated play & update function
updated