Update classess and pramaters