Added updateAvailability function
Merge branch 'master' of https://github.com/moosemn456/lightwait