add update action and POST filtering