Fix ajax updating in forms