import, parse and update functions