added edit functionality for product availability