add state_machine to gem_dependency model