updates to mysql lib