Add expiration parameter to Gallery create and update calls