added methods to update units