made update action work