update with bugfix for errors