Change rubyapp class name to interface,add updatelessons method to interface class