Escape single quote for updating unavailabilities