Fix fetch_assoc, updated libraries