change available and unavailabe show at detail page