updating mina file