change constructor and component properties