updateAvailibily ajax call should be done