Fixed ajax updates