corrected the post update action